package com.lyx.server.controller;
import com.lyx.common.vo.R;
import com.lyx.server.service.UserKickbackService;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;

/**
 * ⽤户佣⾦变动表(UserKickback)表控制层
 *
 * @author McMeloxD
 * @since 2024-08-12 19:07:09
 */
@RestController
@RequestMapping("userKickback")
public class UserKickbackController {
    /**
     * 服务对象
     */
    @Resource
    private UserKickbackService service;

    @GetMapping("all")
    R queryByUid(Integer uid) {
        return service.queryByUid(uid);
    }
}

